/*base setting*/
body {
  background-color: #efefef;
}

/*二级导航开始*/
#sub-nav {
  margin-bottom: 40px;
  overflow: visible;
  background: #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #dfdfdf;
  -webkit-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
  -moz-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
  -ms-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
  box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
}

.ui-select {
    overflow: hidden;
    height: 40px;
    position: relative;
    width: 124px;
    padding: 0 3px 3px 3px;
    left: 12px;
    margin-top: -1px;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    z-index: 99;
}
.ui-select-label {
    font-size: 15px;
    background: #f79464;
    color: #fefbea;
    cursor: pointer;
}

.primary-categories .ui-select-label, .primary-categories .ui-select-options {
    border-radius: 0 0 4px 4px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.ui-select-label i.fa {
  padding-left: 6px;
}

.ui-select-options {
    display: none;
    padding: 0 8px;
    background-color: #fefbea;
    border-top: 0;
    overflow: hidden;
}

.ui-select.active .ui-select-options {
    position: absolute;
    top: 40px;
    left: 3px;
    right: 3px;
    display: block;
}

.primary-categories li:first-child {
    border-top: 0;
}
.primary-categories li {
    font-size: 14px;
    border-top: 1px solid #f3eaca;
}

.primary-categories .ui-select-label, .primary-categories li {
    display: block;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.primary-categories a {
    display: block;
    margin: 0 -8px;
    color: #666;
    border: 1px solid #f3eaca;
    border-top: 0;
    border-bottom: 0;
}

.primary-categories .ui-select.active {
    overflow: visible;
}

/*次级导航开始*/
.secondary-categories {
    margin: 14px 19px 15px 29px;
}

.layout-54>.column:first-child {
    width: 259px;
    padding-right: 24px;
}

.column-hot {
  border-image-slice: 29 19 27 0;
  border-image-width: 20px 20px 20px 20px;
  border-image-outset: 0;
  border-image-repeat: repeat repeat;
  border-image-source:url(../images/dot_line.svg)
}
.column {
  display: table-cell;
  padding-bottom: 8px;
}

.secondary-category-name {
    font-weight: bold;
    font-size: 14px;
    color: #985d3e;
    display: inline-block;
    margin-bottom: 7px;
    line-height: 1;
}
.tertiary-category-items {
    max-height: none;
    font-size: 0;
    padding: 8px 0 16px;
}

.tertiary-category-item {
    margin-right: 10px;
    margin-bottom: 13px;
    display: inline-block;
    font-size: 14px;
    line-height: 1.1;
}

.secondary-category.hot .tertiary-category-item a {
    height: 24px;
    line-height: 20px;
    padding: 2px 8px;
    margin: 0;
    border: 1px solid #f9cd62;
    border-radius: 3px;
    color: #666;
    display: inline-block;
    white-space:nowrap;
}

.tertiary-category-item a {
    color: #666;
    display: inline-block;
    padding: 5px 8px;
    margin: -3px -8px -3px 0;
    border-radius: 3px;
    line-height: 14px;
}

.tertiary-category-item a:hover {
    color: #fefbea;
    border-color: #ff9860;
    background: #ff9860;
}
.cate-row {
  display: table-cell-;
}

.cate-row .column:first-child {
    padding-left: 40px;
}

.tertiary-category-items {
    max-height: 70px;
    overflow: hidden;
    font-size: 0;
    padding: 8px 0 16px;
    margin: 0 -8px;
}
.hot .tertiary-category-items {
  max-height: none;
}

/*查看全部分类开始*/
.toggle-category {
    text-align: center;
}
.toggle-category .toggle-full {
    border-top-color: #ccc;
}
.toggle-category a {
    display: inline-block;
    vertical-align: top;
    width: 136px;
    height: 30px;
    line-height: 30px;
    background: #f7f7f7;
    font-size: 13px;
    color: #666;
}
.toggle-category a i.fa {
  margin-left: 10px;
  color: #999;
}
.toggle-category .toggle-part {
    border-bottom-color: #ccc;
}
.toggle-category .hidden {
    display: none;
}

/*点击展开全部的时候只需要给.layout54 加上active即可*/
.active.layout-54 .tertiary-category-items {
    max-height: none;
}
/*查看全部分类结束*/
/*二级导航结束*/

/*抽屉内容开始*/
 .food_con .img {
    width: 360px;
    height: 203px;
    overflow: hidden;
    position: relative;
}

.food_con>div {
    margin-bottom: 22px;
}

 .food_con .price-icon {
    display: block;
    position: absolute;
    top: 10px;
    left: -10px;
    height: 50px;
    background: url("../images/room-icon-price.png") center center no-repeat;
    width: 100px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    line-height: 40px;
}

 .food_con .price-icon.free {
    background: url("../images/room-icon-free.png") center center no-repeat;
    width: 80px;
}

.card-main {
  background: #fff;
  overflow: hidden;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #dfdfdf;
  -webkit-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
  -moz-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
  -ms-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
  box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
}

.card-hd {
    position: relative;
    overflow: hidden;
}

.card-hd .commodity-price {
    position: absolute;
    right: 0;
    bottom: 0;
    line-height: 1;
    padding: 8px 12px;
    color: #fff;
    background: #b9b9b9;
    background: rgba(185,185,185,0.65);
}

.card-bd {
    padding: 13px 20px 0;
    height: 220px;
    position: relative;
}

.story-title {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    word-break: break-all;
}
h2.story-title {
  margin-top: 0px;
}

.card-bd .author-box {
    padding-bottom: 8px;
    margin-left: 13px;
    margin-right: 13px;
}

.author-box .author-avatar-link {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    border-radius: 12px;
    vertical-align: middle;
    margin-right: 5px;
}

.card-bd .story-quote {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    padding-bottom: 0;
    margin-left: 13px;
    margin-right: 13px;
}

.card-bd .story-info {
    color: #c6c6c6;
    line-height: 1;
    position: absolute;
    bottom: 18px;
    left: 20px;
}

.card-bd .stats-list {
    font-size: 0;
    overflow: hidden;
    padding-left: 0px;
}

.card-bd .stats-list li {
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    margin-right: 10px;
    line-height: 13px;
}

.card-drawer {
    font-size: 13px;
    width: 310px;
    margin: 0 auto;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    border: 1px solid #dfdfdf;
    -webkit-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
    -moz-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
    -ms-box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
    box-shadow: 0 1px 2px 0 rgba(158,158,158,0.2);
}

.card-drawer .card-remark {
    border-bottom: 1px solid #ededed;
    color: #999;
    background: #fdfdfd;
    padding: 16px 18px;
    display: none;
}

.card-drawer .card-knob {
    background: #fafafa;
    padding: 8px 0;
    text-align: center;
    line-height: 1;
    cursor: pointer;
}

.card-knob .fa {
    display: inline-block;
    vertical-align: top;
    color: #ccc;
}
/*抽屉内容结束*/

/* footer 开始*/
#footer {
    color: #999;
    padding-top: 6px;
    margin: 40px 0 20px 0;
    overflow: hidden;
    zoom: 1;
    border-top: 1px dashed #ddd;
}

#footer a:link, #footer a:visited {
    color: #654f41;
}
/* footer 结束*/